<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="box">123</div>
    <script src="./jquery-3.6.0.js"></script>
    <script>
        $('.box').css({
            width: '300px',
            height: '200px',
            backgroundColor: 'red',
            fontSize: '50px',
            lineHeight: '200px',
            textAlign: 'center',
            margin: '100px auto',
            fontWeight: '700',
        })
    </script>
</body>

</html>